home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Misc / LK_V1.06.LHA / LK V1.06 / HELP / from.hlp < prev    next >
Encoding:
INI File  |  1994-11-01  |  1.9 KB  |  45 lines

  1. [LANGUAGE english; PARENT keywords; PAGE 11-43]
  2. [C;6;B]        FROM or ROOT <filename>
  3. [7]Default: first file specified
  4. [J;1;N]
  5.   Defines the first file, which should start with a hunk of type \
  6. code. This will be linked at start in destination executable \
  7. file (Usuly a C or pascal startup or main assembly code.) The \
  8. first file is not always the first if you use one of the \
  9. instructions STARTUP or OVERLAY (Please refer to those \
  10. instructions for more informations.)
  11.   The use of FROM instruction returns lk in default OBJECT \
  12. mode. Please see that instruction for more informations.
  13.  
  14.   When no destination is defined or only a directory is given, \
  15. the root (or first) file name is used as the destination file name \
  16. (Erasing the extension '.o' or '.exe' and eventualy appending '.exe' \
  17. when a source file have that name.) If the root (first) file is 'c.o', \
  18. 'cback.o', 'cres.o', 'catch.o' or 'catchres.o' the following file name \
  19. will be used instead, enabling C programmers to avoid the TO instruction.
  20.  
  21.   In the case of a library, one of this instruction may be \
  22. used only to have the destination file name automatically \
  23. computed. Also the specified name will receive the usual '.Lib' \
  24. extension. Note this may not always be supported.
  25.  
  26.   All following files will be defined though DEFAULT keyword \
  27. was used (See.) There is no problem to use wild cards in those \
  28. file names, lk will automatically check and prevent the ROOT \
  29. file to be loaded twice.
  30.   All hunks of each file will be present into the result.
  31.  
  32.   If you need to put the root into a specific memory type \
  33. you will have to specify that type at first and then use \
  34. the instruction ROOT. For instance to put the root in chip \
  35. memory:
  36.     CHIP ROOT my_root_file
  37.  
  38.   See also:
  39. [L;3][LINK default]            DEFAULT
  40. [LINK filename]                <filename>
  41. [LINK object]                OBJECT
  42. [LINK overlay]                OVERLAY
  43. [LINK startup]                STARTUP
  44. [5; LINK about; GOTO address]        Become Registred
  45.